package com.youdoneed.user.model;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 管理员信息
 *
 * @author Ewing
 * @date 2017.2.3
 */
public class Admin implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 管理员ID
     */
    private String adminId;

    /**
     * 管理员用户名
     */
    private String name;

    /**
     * 登陆账号
     */
    private String account;

    /**
     * 管理员密码
     */
    private String password;

    /**
     * 性别
     */
    private Integer gender;

    /**
     * 管理员状态
     */
    private Integer adminState;

    /**
     * 创建时间
     */
    private Date createTime;

    private List<Authority> authoritys;

    private List<Role> roles;

    public String getAdminId() {
        return adminId;
    }

    public void setAdminId(String adminId) {
        this.adminId = adminId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public Integer getAdminState() {
        return adminState;
    }

    public void setAdminState(Integer adminState) {
        this.adminState = adminState;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public List<Authority> getAuthoritys() {
        return authoritys;
    }

    public void setAuthoritys(List<Authority> authoritys) {
        this.authoritys = authoritys;
    }

    public List<Role> getRoles() {
        return roles;
    }

    public void setRoles(List<Role> roles) {
        this.roles = roles;
    }
}
